package com.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface DataSumMapper {
    @Select("select count(*) from blog_system.articles")
    Integer getArticleCount();

    @Select("select count(*) from blog_system.article_categories")
    Integer getCategoryCount();

    @Select("select count(*) from blog_system.authors")
    Integer getAuthorCount();
}
